<div class="modal-header">
    <h4 class="modal-title">用户管理{{item.user_id=='' && '-新增' || '-修改'}}</h4>
</div>
<div class="modal-body">
    <form  class="form-horizontal form-content" name="edit_Form">
        <div class="form-group">
            <label class="control-label col-xs-2" for="user_name">登录账号</label>
            <div class="col-xs-10">
                <input type="text" ng-model="item.user_name" unique-usr-login required class="form-control"
                       name="user_name" id="user_name" placeholder="登录账号">
                <span ng-show="edit_Form.user_name.$error.user_login_unique" class="form_error">该登录账号已注册.</span>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-2" for="user_alias">用户名称</label>
            <div class="col-xs-10">
                <input type="text" class="form-control" required ng-model="item.user_alias"
                       name="user_alias" id="user_alias" placeholder="用户名称">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-2" for="user_password">密码</label>
            <div class="col-xs-10">
                <input type="password" class="form-control" required  ng-model="item.user_password"
                       name="user_password" id="user_password" placeholder="密码">
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button"
            ng-disabled="
            edit_Form.user_name.$invalid ||
            edit_Form.user_alias.$invalid ||
            edit_Form.user_password.$invalid
            "
            ng-click="ok()">确认</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">关闭</button>
</div>